package com.auxgroup.smarthome.service;

import com.auxgroup.smarthome.service.inner.ModelInfoInnerService;
import com.auxgroup.smarthome.syscode.BusinessCode;
import com.auxgroup.smarthome.vo.DeviceModelInfoVo;
import com.auxgroup.smarthome.web.ApiResponse;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/9/13 15:18.
 */
public class ModelInfoInnerServiceFallback implements ModelInfoInnerService {
    @Override
    public ApiResponse<DeviceModelInfoVo> getDeviceInfo(String model) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<DeviceModelInfoVo> getDeviceInfoByModelItem(String modelItem) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }
}
